<%= javascript_include_tag 'jquery.tools.min' %>
<%= javascript_include_tag 'overlay' %>
<ul class="hot_list">
  <% for style in hot_list -%>
    <li>
      <%= render :partial =>'/styles/style_detail',:object=>style %>
      <dl class="rank_button_container">
        <dt class="detail_toolbar">
          <span>编号 <%= style.sn %></span><br />
        </dt>
        <dt>
          <%if editor?%>
            <%= link_to "编辑", edit_style_path(style),:title=>'编辑',:class=>"action_edit" %>
            <%= link_to "删除",style, :confirm => '确定删除?', :method => :delete,:title=>'删除',:class=>"action_delete" %>
          <%end%>
        </dt>
      </dl>
    </li>
  <% end -%>
</ul>
